package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_DUTY_SCHEDULE_SET")
@ApiModel(value = "部门排班表")
public class DutyScheduleSet extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "总排班ID，关联总排班表DUTY_SCHEDULE_SET_CUSTOM主键ID")
    @TableField(value = "SET_CUSTOM_ID")
    @JsonProperty(value = "setCustomId")
    private String setCustomId;

    @ApiModelProperty(value = "H4A部门GUID")
    @TableField(value = "DEPT_ID")
    @JsonProperty(value = "deptId")
    private String deptId;

    @ApiModelProperty(value = "部门中文名称")
    @TableField(value = "SCHEDULE_DEPT")
    @JsonProperty(value = "sDept")
    private String sDept;

    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "SCHEDULE_TYPE")
    @JsonProperty(value = "sType")
    private String sType;

    @ApiModelProperty(value = "海关总署署级人员数量")
    @TableField(value = "ZS_S_COUNT")
    @JsonProperty(value = "zsSCount")
    private Long zsSCount;

    @ApiModelProperty(value = "海关总署厅级人员数量")
    @TableField(value = "ZS_T_COUNT")
    @JsonProperty(value = "zsTCount")
    private Long zsTCount;

    @ApiModelProperty(value = "海关总署处级人员数量")
    @TableField(value = "ZS_C_COUNT")
    @JsonProperty(value = "zsCCount")
    private Long zsCCount;

    @ApiModelProperty(value = "直属海关处级人员数量")
    @TableField(value = "DEPARTMENT_COUNT")
    @JsonProperty(value = "dCount")
    private Long dCount;

    @ApiModelProperty(value = "直属海关科级人员数量")
    @TableField(value = "SECTION_COUNT")
    @JsonProperty(value = "sCount")
    private Long sCount;

    @ApiModelProperty(value = "海关总署主值班员数量")
    @TableField(value = "ZS_MAIN_COUNT")
    @JsonProperty(value = "zsMainCount")
    private Long zsMainCount;

    @ApiModelProperty(value = "海关总署次值班员数量")
    @TableField(value = "ZS_SUB_COUNT")
    @JsonProperty(value = "zsSubCount")
    private Long zsSubCount;

    @ApiModelProperty(value = "值班轮次")
    @JsonProperty(value = "round")
    @TableField(value = "ROUND")
    private Integer round;

    @JsonProperty(value = "deptName")
    @TableField(exist = false)
    private String deptName;

}
